<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
	<div id="app">
		<input type="text" @keyup.13="test">
	</div>
	<script type="text/javascript" src="../js/vue.js"></script>
	<script type="text/javascript">
		var vm = new Vue({
			el: '#app',
			methods: {
				test: function (event) {
					alert(event.target.value);
				}
			}
		});
	</script>
</body>
</html>